use serde::{Deserialize, Serialize};

#[derive(Debug, Serialize, Deserialize)]
pub struct ScoreBody {
    pub key: String,
    pub name: String,
    pub score: usize,
}

#[derive(Debug, Serialize, Deserialize)]
pub struct ScoreParam {
    pub key: String,
    pub start: isize,
    pub end: isize,
}

#[derive(Debug, Serialize, Deserialize)]
pub struct ScoreObj {
    pub id: usize,
    pub name: String,
    pub score: String,
}
